package cn.itsource.pethome_0310.basic.base;

import cn.itsource.pethome_0310.basic.domain.BaseQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface MyBaseService<T> {

    void insert(T t);
    void  update(T t);
    List<T>  findAll();
    void delete(Long id);
    void batchDelete(List<Long> id);
    PageInfo<T> basePageList(BaseQuery baseQuery);

}
